This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Tip Xantooburoden 28.Jan.04 08:47 AM a Web browser Domino Designer 6.0.1 CF2 Windows XP
I create an action view to associate my alcatel soft telephone with notes in my addreess book...
In my view when I click to the button ...it says ...Object variable no set
What are missing ??
My button action name "DIAL"
Declare Function tapiRequestMakeCall Lib "TAPI32.DLL" (ByVal NumTel As String, ByVal NomAppli As String, ByVal Nom As String, ByVal Comm As String) As Long
"Evénements - Click") :
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim tapi_err As Long
Set uidoc = workspace.CurrentDocument
tapi_err = tapiRequestMakeCall(uidoc.fieldGetText"OfficePhoneNumber"), "Lotus Notes", "tmp", "Ok")
if (tapi_err <> 0) Then MessageBox "TapiRequestMaleCall error :" & Str(tapi_err)
In my form the action works, But I prefer put this action in the view ...